package com.xh.model.table;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * <p>
 * 海报记录表
 * </p>
 *
 * @author wen
 * @since 2021-07-08
 */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@TableName("t_poster")
@ApiModel(value="Posters对象", description="海报记录表")
public class Poster {

    @ApiModelProperty(value = "海报ID")
    @TableId(value = "id", type = IdType.NONE)
    private Long id;

    @ApiModelProperty(value = "海报名称")
    private String name;

    @ApiModelProperty(value = "宽")
    private Integer w;

    @ApiModelProperty(value = "高")
    private Integer h;

    @ApiModelProperty(value = "背景色")
    private String bgc;

    @ApiModelProperty(value = "图片类型[如：jpeg]")
    private String type;

    @ApiModelProperty(value = "图片质量")
    private Integer quality;

    @ApiModelProperty(value = "背景图URL")
    private String bgUrl;

    @ApiModelProperty(value = "编辑属性")
    private String editor;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否删除[1-是 0-否]")
    private Integer deleted;

}
